// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 2 of the License.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

#pragma once

#include "vector.h"
#include <string>
#include <vector>

class GravBody;

class Orbit
{
public:
	Orbit(void);
	virtual ~Orbit(void);
	virtual Vec3 computePosition(double jd) {return VECTOR(0.,0.,0.);}
	virtual void sample(double start, double t, int nSamples, std::vector<VECTOR>* points);
	virtual double getPeriod(void);
	double period;
	GravBody* parent;
};